package jike.demo16.code03;

import jike.demo16.AlertRule;
import jike.demo16.Notification;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description:TODO
 * @date 2022/11/9 20:53
 */
public abstract class AlertHandler {

    protected AlertRule rule;
    protected Notification notification;

    public AlertHandler(AlertRule rule, Notification notification) {
        this.rule = rule;
        this.notification = notification;
    }


    public abstract void check(ApiStatInfo apiStatInfo);

}
